<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <script type="application/javascript">
        $(function (){
            $("#currentTime").html(new Date());
        })
    </script>




</head>
<body>
<div style="padding: 20px">
    <div id="currentTime"></div>
</div>
</body>
</html>